<!DOCTYPE html>
<html>
<head>
<title>我的备忘录!</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<script type="text/javascript" src="../../lib/angular/angular.js"></script>
<script type="text/javascript" src="todo.js"></script>

</head>
<body ng-app="myApp" ng-controller="myCtrl">
	<h2>我的备忘录</h2>
	<form ng-submit="add()">
		<input type="text" ng-model="input" size="50" placeholder="新增">
		<input type="submit" value="新增">
	</form>
	<br>
	<div ng-repeat="x in todoList">
		<input type="checkbox" ng-model="x.done"> <span
			ng-bind="x.text"></span>
	</div>
	<p>
		<button ng-click="remove()">删除记录</button>
	</p>
</html>
